[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SYSOPSEC() (INTEGER)
Function
Get the security level as the SysOp security level.
Syntax
SYSOPSEC() No arguments are required
Return Type & Value
INTEGER
Returns the SysOp security level as defined in PCBSetup.
Remarks
This function is useful for those occasions when you need to limit
functionality in your PPL applications to users having a security level
greater than or equal to the defined SysOp security level in PCBSetup.
Examples
INTEGER min
IF (CURSEC() >= SYSOPSEC()) THEN
LET min = 60
ELSE
LET min = 5
ENDIF
ADJTIME min
PRINTLN "Your time available has been increased by ",min," minutes"
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson